{extend name="index/base" /}
{block name='title'}My Wallet{/block}
{block name='content'}

<div class="container clearfix my-5 pb-1">
    {include file="user/leftMenu" name="MY Wallet" route="user/wallet"/}

    <div class="userBox user-wallet">
        <div class="userH_tab clearfix">
            <a href="{:url('/user/wallet')}" class="on" >My Wallet</a>
            <a href="{:url('/user/walletlist')}" >Transaction Record</a>
        </div>
        <div class="user-wallet-content">
            <div class="wallet-money-info clearfix">
                <dl class="fl">
                    <dt>Available Balance</dt>
                    <dd>
                        <span class="bizhong">USD</span>
                        <span class="my_shop_price">{$money_f}{:empty($user_model)?'0.00':$user_model->closeMoney()}</span>
                    </dd>
                </dl>

                <dl class="fl">
                    <dt>Balance Reserved</dt>
                    <dd>
                        <span class="bizhong">USD</span>
                        <span class="my_shop_price">{$money_f}{$user_model['money']}</span>
                    </dd>
                </dl>
            </div>

            <h5 class="wallet-note-title"><b>Notes</b></h5>
            <div class="wallet-notes">
                <p>1.Refunds issued for orders will be added to your lovessales Wallet Account Balance.</p>
                <p>2.Balance Reserved refers to funds currently in use and pending clearance; it is not accessible unless the order is canceled.</p>
            </div>

        </div>
    </div>
</div>

{/block}
{block name='script'}

<script>

    layui.extend({
    }).use([], function () {
        initVue({
            data: {

            },
            components: {

            },
            computed: {

            },
            created: function () {
            },
            mounted: function () {
            },
            methods: {


            },
        })


    })

</script>

{/block}